home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2000 #4
/
Amiga Plus CD - 2000 - No. 4.iso
/
Tools
/
Text
/
HTML
/
HTMLEXT
/
GUI
/
menu.visit
< prev
next >
Wrap
Text File
|
2000-04-19
|
1KB
|
52 lines
G4C
; $VER: menu.visit Rev.001 © by Juan Manuel Wehrli 2000
WINBIG -1 -1 100 60 "Site besuchen"
WinType 00001000
WinOnMouse 95 5
WinBackGround IMAGE BG 0
Winout "NIL:"
xOnLoad
GuiOpen #This
;=== Abbruch Button
XButton 0 0 100 15 "Abbrechen [_X]"
GadFont xHelvetica.font 11 010
GadKey "x"
GuiQuit #This
XButton 0 15 100 15 "Lokale Site"
GadFont xHelvetica.font 11 000
GuiClose #This
lvuse HTMLEXT 1
Joinfile $*SITEDIR "default.htm" sf1
Joinfile $*SITEDIR "default.html" sf2
Joinfile $*SITEDIR "index.htm" sf3
Joinfile $*SITEDIR "index.html" sf4
ifexists file $sf1
cli 'rx $*BROWSER OPENNEW $sf1'
elseifexists file $sf2
cli 'rx $*BROWSER OPENNEW $sf2'
elseifexists file $sf3
cli 'rx $*BROWSER OPENNEW $sf13'
elseifexists file $sf4
cli 'rx $*BROWSER OPENNEW $sf4'
endif
GuiQuit #This
XButton 0 30 100 15 "Work Site"
GadFont xHelvetica.font 11 000
GuiClose #This
lvuse HTMLEXT 1
EXTRACT %SiteURLWRK CLEAN urlwrk
cli 'rx $*BROWSER OPENURL $urlwrk'
GuiQuit #This
XButton 0 45 100 15 "Online Site"
GadFont xHelvetica.font 11 000
GuiClose #This
lvuse HTMLEXT 1
EXTRACT %SiteURLOL CLEAN urlol
cli 'rx $*BROWSER OPENURL $urlol'
GuiQuit #This